package com.xiaoluo.lottery.common.asyn;

import com.xiaoluo.lottery.entity.Order;

import java.util.concurrent.ConcurrentLinkedQueue;

/**
 * Project : lottery
 * Package : com.xiaoluo.lottery.common.asyn
 * Created by Willian.
 * Date  : 2016/4/13 19:35.
 */
public class AsynQueue {

    protected static ConcurrentLinkedQueue<Order> queue = new ConcurrentLinkedQueue<>();

    public static void push(Order order){
        queue.add(order);
    }
}
